/*访问后台的代码*/
layui.define([], function(exports) {
    var api={
            update:function(form,callback){
                Lib.submitForm("/cms/entry/update.json",form,{},callback)
            },
            editandsave:function(form,callback){
                Lib.submitForm("/cms/entry/editandsave.json",form,{},callback)
            },
            addEntry:function(form,callback){
                Lib.submitForm("/cms/entry/add.json",form,{},callback)
            },
            savedeclaration: function (form, callback) {
                Lib.submitForm("/cms/entry/savedeclaration.json", form, {}, callback)
            }, Acceptancelisttermination: function (form, callback) {
                Lib.submitForm("/cms/entry/Acceptancelisttermination.json", form, {}, callback)
            },
             Acceptancelistterreturn: function (form, callback) {
                Lib.submitForm("/cms/entry/Acceptancelistterreturn.json", form, {}, callback)
            },
            Acceptancelistsuccess: function (form, callback) {
                Lib.submitForm("/cms/entry/Acceptancelistsuccess.json", form, {}, callback)
             },
            del:function(ids,callback){
                Common.post("/cms/entry/delete.json",{"ids":ids},function(){
                    callback();
                })
            }
		
    };
    exports('entryApi',api);
});